<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">

<title>My JSP 'ShowAllUser.jsp' starting page</title>

<link href="css/bootstrap.css" rel="stylesheet" type="text/css"
	media="all">
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords"
	content="Cappuccino Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template, 
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
<script type="application/x-javascript">
	
	 addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } 

</script>
<link
	href='http://fonts.useso.com/css?family=Roboto:400,100,300,500,700,900'
	rel='stylesheet' type='text/css'>
<script src="js/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/magnific-popup.css">
<script type="text/javascript" src="js/move-top.js"></script>
<script type="text/javascript" src="js/easing.js"></script>
<script type="text/javascript">
	jQuery(document).ready(function($) {
		$(".scroll").click(function(event) {
			event.preventDefault();
			$('html,body').animate({
				scrollTop : $(this.hash).offset().top
			}, 1200);
		});
	});
</script>
<script type="text/javascript">
	$(document).ready(function() {
		/*
		var defaults = {
		containerID: 'toTop', // fading element id
		containerHoverID: 'toTopHover', // fading element hover id
		scrollSpeed: 1200,
		easingType: 'linear' 
		};
		 */
		$().UItoTop({
			easingType : 'easeOutQuart'
		});
	});
</script>

</head>

<body>
<s:debug></s:debug>
	<!-- header -->
	<div class="banner1">
		<div class="header">
			<div class="container">
				<div class="logo">
					<a href="index.html"><img src="images/logo.png"
						class="img-responsive" alt="" /></a>
				</div>
				<div class="hader-left">
					<h1>
						<a href="index.jsp">果蔬销售系统</a>
					</h1>
				</div>
				<div class="head-nav">
					<span class="menu"> </span>
					<ul class="cl-effect-3">
						<li><a href="goHome.action">主页</a></li>
						<li><a href="ShowAllCommodity.action">商品管理</a></li>
						<li><a href="ShowAllOrder.action">订单管理</a></li>
						<li><a href="ShowAllNotice.action">公告管理</a></li>
						<li class="active"><a href="ShowAllUser.action">用户管理</a></li>
						<div class="clearfix"></div>
					</ul>
				</div>
				<div class="clearfix"></div>
				<!-- script-for-nav -->
				<script>
					$("span.menu").click(function() {
						$(".head-nav ul").slideToggle(300, function() {
							// Animation complete.
						});
					});
				</script>
				<!-- script-for-nav -->
			</div>
		</div>
	</div>
	<!-- header -->
	<!--about start here-->
	<div class="about">
		<div class="container">
			<div class="about-main">
				<h1>显示所有用户</h1>
				<h3><a href="goInsertUser.action">添加用户</a></h3>
				<table border="1px" cellpadding="0" cellspacing="0">
					<tr>
						<th>用户名称</th>
						<th>用户密码</th>
						<th>用户类型</th>
						<th>修改用户信息</th>
						<th>删除用户信息</th>
					</tr>
					<s:iterator value="#request.allUSERs" var="use" status="st">
						<tr>
							<td align="center">黄任中</td>
							<td align="center">0110112</td>
							<td align="center">用户</td>
							<td align="center"><a
								href="GetOneUser.action?user.USERID=<s:property value="#use.USERID" />">修改</a></td>
							<td align="center"><a
								href="DeleteUser.action?user.USERID=<s:property value="#use.USERID" />">删除</a></td>
						</tr>
					</s:iterator>
				</table>
				<div class="clearfix"></div>
			</div>
		</div>
	</div>
	<!--about end here-->

</body>
</html>
